package com.atstudy.headline.web.app.service.impl;

import com.atstudy.headline.entity.Users;
import com.atstudy.headline.web.app.mapper.UsersMapper;
import com.atstudy.headline.web.app.service.UsersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* @author A
* @description 针对表【users(用户基础信息表)】的数据库操作Service实现
* @createDate 2025-06-12 13:53:50
*/
@Service
public class UsersServiceImpl extends ServiceImpl<UsersMapper, Users>
    implements UsersService {


    @Override
    public Users userInfo(int userId) {
        return baseMapper.selectUserInfoById(userId);
    }
}




